package com.zhenzhen.xszhcp.model;

import java.util.Date;

public class Teacher {
    private Integer id;

    private Integer tcard;

    private String tname;

    private String tsex;

    private String tphone;

    private Date tbirth;

    private String tzc;

    private String by1;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTcard() {
        return tcard;
    }

    public void setTcard(Integer tcard) {
        this.tcard = tcard;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname == null ? null : tname.trim();
    }

    public String getTsex() {
        return tsex;
    }

    public void setTsex(String tsex) {
        this.tsex = tsex == null ? null : tsex.trim();
    }

    public String getTphone() {
        return tphone;
    }

    public void setTphone(String tphone) {
        this.tphone = tphone == null ? null : tphone.trim();
    }

    public Date getTbirth() {
        return tbirth;
    }

    public void setTbirth(Date tbirth) {
        this.tbirth = tbirth;
    }

    public String getTzc() {
        return tzc;
    }

    public void setTzc(String tzc) {
        this.tzc = tzc == null ? null : tzc.trim();
    }

    public String getBy1() {
        return by1;
    }

    public void setBy1(String by1) {
        this.by1 = by1 == null ? null : by1.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", tcard=").append(tcard);
        sb.append(", tname=").append(tname);
        sb.append(", tsex=").append(tsex);
        sb.append(", tphone=").append(tphone);
        sb.append(", tbirth=").append(tbirth);
        sb.append(", tzc=").append(tzc);
        sb.append(", by1=").append(by1);
        sb.append("]");
        return sb.toString();
    }
}